﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GlobalLib
{
    public class PagedList<T> : List<T> where T : IData, new()
    {
        private int pageSize;
        private int records;
        private int currentPage;

        public int PageSize
        {
            get { return pageSize; }
            set { pageSize = value; }
        }

        public int Records
        {
            get { return records; }
            set { records = value; }
        }

        public int CurrentPage
        {
            get { return currentPage; }
            set { currentPage = value; }
        }
    }
}
